package com.cysyz.mylib.excel.exception;

import java.util.List;

public class ExcelException extends Exception {
	private List<String> errorList;

	public ExcelException(List<String> errorList) {
		this.errorList = errorList;
	}
	
	@Override
	public String getLocalizedMessage() {
		return errorList.toString();
	}

	public List<String> getErrorList() {
		return errorList;
	}
	
}
